package ${package}.service;

import java.util.List;
import ${package}.ao.QueryInfo;
import ${package}.ao.ResultSet;
import ${package}.po.${table.className};

public interface ${table.className}Service {

    List<${table.className}> find();

	int findCount();

	${table.className} findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(${table.className} ${table.lowerClassName});

	int update(${table.className} ${table.lowerClassName});

	int saveOrUpdate(${table.className} ${table.lowerClassName});

	ResultSet<${table.className}> search(QueryInfo queryInfo, String q);
	
}
